/**
 * 
 */
function bind(fn, context) {
    return function() {
        return fn.apply(context, arguments);
    }
}

var demoObj = {
    title: '这是一个例子'
}

function demoFn() {
    console.log(this, this.title, arguments);
}

var bindFn = bind(demoFn, demoObj, ['A', 'B']);
demoFn();
bindFn();